//
//  MainViewController.m
//  ProPak China
//
//  Created by 拼凑的断音 on 15/6/29.
//  Copyright (c) 2015年 Cary. All rights reserved.
//

#import "MainViewController.h"
#import "XXTool.h"

@interface MainViewController ()

@end

@implementation MainViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    if ([self respondsToSelector:@selector(interactivePopGestureRecognizer)])
    {
        self.interactivePopGestureRecognizer.enabled = NO;
    }
    
    
    [self.navigationBar setBarTintColor:[XXTool colorWithBar]];
    [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[XXTool colorWithProject],NSFontAttributeName:[XXTool boldSystemFontOfSize:19.0]}];
//    [self.navigationBar setTintColor:[UIColor whiteColor]];
      [self.navigationBar setTintColor:[XXTool colorWithProject]];
    
    self.navigationBar.translucent = NO;
    
    
    
    /*
     
    UIImage *backImage=[[UIImage imageNamed:@"navigationbar_back"] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
    //backImage=[backImage resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [[UIBarButtonItem appearance] setBackButtonBackgroundImage:backImage
                                                      forState:UIControlStateNormal
                                                    barMetrics:UIBarMetricsDefault];
     */
}



@end
